﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TTChiTietDatTour.aspx.cs"
    Inherits="Admin_Tour_TTChiTietDatTour" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:HiddenField ID="H_CatalogId" Value="0" runat="server" />
        <asp:Panel ID="pnIn" runat="server">
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10" style="font-size: 20pt; font-weight: bold" align="center">
                        THÔNG TIN CHI TIẾT ĐẶT TOUR
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Tên công ty
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbTenCongTy" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Họ tên
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbHoTen" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Điện thoại
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbDienThoai" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Email
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbEmail" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Mã số thuế
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbMaSoThue" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Địa chỉ
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbDiaChi" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Di động
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbDiDong" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td width="20">
                    </td>
                    <td width="110" class="hrm_title_blue">
                        Ngày cập nhật
                    </td>
                    <td width="7" class="hrm_title_blue">
                        :
                    </td>
                    <td>
                        <asp:Label ID="lbNgayCapNhat" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                        <asp:Panel ID="pndanhsach" runat="server" GroupingText="Danh sách">
                            <asp:GridView ID="gridcatalog" runat="server" DataKeyNames="Id" Width="100%" BackColor="White"
                                EmptyDataText="<br><center>Không tồn tại dữ liệu</center><br>" BorderColor="#CCCCCC"
                                AutoGenerateColumns="false" BorderStyle="Solid" BorderWidth="1px" CellPadding="3">
                                <Columns>
                                    <asp:BoundField DataField="Id" Visible="false" HeaderText="Id"></asp:BoundField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="STT" ItemStyle-Width="20">
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="HoTen" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                        ItemStyle-Width="13%" HeaderText="Họ tên"></asp:BoundField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                                        HeaderText="Ngày sinh" ItemStyle-Width="100px">
                                        <ItemTemplate>
                                            <asp:Label ID="LabelNgaySinh" runat="server" Text='<%# Convert.ToDateTime(Eval("NgaySinh")).ToString("dd/MM/yyyy") == "01/01/1990" ? "" : Convert.ToDateTime(Eval("NgaySinh")).ToString("dd/MM/yyyy") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="90px" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="DiaChi" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                        ItemStyle-Width="13%" HeaderText="Địa chỉ"></asp:BoundField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                                        HeaderText="Loại khách" ItemStyle-Width="100px">
                                        <ItemTemplate>
                                            <asp:Label ID="lbLoaiKhach" runat="server" Text='<%# GetLoaiKhach(Eval("IdLoaiKhach"))%>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="90px" />
                                    </asp:TemplateField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                                        HeaderText="Giới tính" ItemStyle-Width="100px">
                                        <ItemTemplate>
                                            <asp:Label ID="lbGioiTinh" runat="server" Text='<%# GetGioiTinh(Eval("IdGioiTinh"))%>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="90px" />
                                    </asp:TemplateField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                                        HeaderText="Độ tuổi" ItemStyle-Width="100px">
                                        <ItemTemplate>
                                            <asp:Label ID="lbDoTuoi" runat="server" Text='<%# GetDoTuoi(Eval("IdDoTuoi"))%>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="90px" />
                                    </asp:TemplateField>
                                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                                        HeaderText="Loại phòng đơn" ItemStyle-Width="8%">
                                        <ItemTemplate>
                                            <asp:Label ID="LbTrangThai" runat="server" Text='<%# (Eval("TrangThaiPhong").ToString())=="True" ? "Có" : "Không"%>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="8%" />
                                    </asp:TemplateField>
                                </Columns>
                                <RowStyle ForeColor="#000066" />
                                <SelectedRowStyle BackColor="#dedfdf" Font-Bold="True" ForeColor="Gray" />
                                <HeaderStyle BackColor="#006699" Font-Bold="True" HorizontalAlign="Left" ForeColor="White" />
                            </asp:GridView>
                            <cc1:Pager ID="Pager1" runat="server" PreviousClause="" NextClause="" LastClause=""
                                FirstClause="" PageClause="Trang" OfClause="/" PageSize="10" OnCommand="Pager1_Command">
                            </cc1:Pager>
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="20">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10" align="center">
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10">
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
